package com.qiall.gateway.data.mapper;

import com.qiall.gateway.data.entity.ApiRoleMap;
import com.qiall.gateway.data.entity.ApiUserMap;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author 吴金辉
 */
@Mapper
public interface ApiUserMapMapper {

    void insert(ApiUserMap roleMap);

    void update(ApiUserMap roleMap);

    List<ApiUserMap> selectByApiId(@Param("apiId") Integer apiId);

}
